#ifndef __LIB_MATH_H__
#define __LIB_MATH_H__

#include "libutilsbase.h"

LIB_NS_BEGIN

class LIBAPI UMaths
{
public:
	static int32 Abs(int32 value);
	static float Abs(float value);
	static double Abs(double value);
	static int32 Ceiling(double value);
	static int32 Floor(double value);
	static double Log(double value);
	static double Log10(double value);
	static double Exp(double value);	
	static double Sqrt(double value);
	static int32 Sign(double value);
	static int32 ToInt32(const TCHAR* pValue);
	static double ToDouble(const TCHAR * pvalue);
	
#ifdef INCLUDE_PYTHON
	static double CaculateExpression(const TCHAR* pExp);
#endif	

private:
	UMaths();
};

LIB_NS_END

#endif